# 指定 CMake 最低版本
cmake_minimum_required(VERSION 3.5.1)

project(TallyClient)

set(srcs client.cpp
        main.cpp)

# 设置 C++11
set(CMAKE_CXX_STANDARD 11)

# 添加 C++ 编译参数
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread")

# 生成可执行程序
add_executable(TallyClient ${srcs})
